package com.zz.ecommerce.togatherDeclareMgr.common.bean;

import com.zz.bundles.cache.dict.DictTag;
import com.zz.ecommerce.common.GridRequest;
import com.zz.ecommerce.utils.SqlType;
import org.apache.commons.beanutils.ConvertUtils;
import org.apache.commons.beanutils.converters.BigDecimalConverter;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 报检表头信息
 */
public class TDeclInfo extends GridRequest implements Serializable {

    private static final long serialVersionUID = 455625873621395188L;

    /**
     * 数据索引
     */
    private String indx;

    private String io;
    /**
     * 报检流水号
     */
    private String declNo;

    /**
     * 平台流水号
     */
    private String flowno;

    /**
     * 委托流水号
     */
    private String conIndx;

    private String consignno;
    /**
     * 报检登记号
     */
    private String declRegNo;

    /**
     * 正式报检号
     */
    private String declGetNo;
    /**
     * 报检员编码
     */
    private String declPersonCode;
    /**
     * 报检日期
     */
    @SqlType(type = "date", format = "yyyy-mm-dd", qryStart = "startTime", qryEnd = "endTime")
    private String declDate;

    @SqlType(inTable = false)
    private String startTime = "";

    @SqlType(inTable = false)
    private String endTime = "";

    /**
     * 报检单位名称
     */
    private String entName;

    /**
     * 联系人
     */
    private String entContact;
    /**
     * 企业性质名称
     */
    private String entPropertyname;
    /**
     * 企业性质编码
     */
    private String entProperty;
    /**
     * 联系电话
     */
    private String entTel;
    /**
     * 发货人编码
     */
    private String consignorCode;
    /**
     * 发货人中文名字
     */
    private String consignorCname;
    /**
     * 发货人英文名字
     */
    private String consignorEname;
    /**
     * 收货人编码
     */
    private String consigneeCode;
    /**
     * 收货人中文名字
     */
    private String consigneeCname;
    /**
     * 收货人英文名字
     */
    private String consigneeEname;
    /**
     * 运输工具编码
     */
    private String transTypeCode;
    /**
     * 运输工具名称
     */
    private String transTypeName;
    /**
     * 运输号码
     */
    private String transTypeNo;
    /**
     * 吨位
     */
    @SqlType(defaultValue = "NULL")
    private BigDecimal tonnage;
    /**
     * 贸易方式编码
     */
    private String tradeModeCode;
    /**
     * 贸易方式名称
     */
    private String tradeModeName;
    /**
     * 货物存放地
     */
    private String goodsPlace;
    /**
     * 用途编码
     */
    private String purposeCode;
    /**
     * 用途名称
     */
    private String purposeName;
    /**
     * 发货日期
     */
    @SqlType(type = "date", format = "YYYY-MM-DD")
    private String despDate;
    /**
     * 到货日期
     */
    @SqlType(type = "date", format = "YYYY-MM-DD")
    private String arriDate;
    /**
     * 卸毕日期
     */
    @SqlType(type = "date", format = "YYYY-MM-DD")
    private String unloadDate;
    /**
     * 启运口岸代码
     */
    private String despPortCode;
    /**
     * 到达口岸代码
     */
    private String arriPortCode;
    /**
     * 入境口岸代码
     */
    private String entryPortCode;
    /**
     * 经停口岸代码
     */
    private String viaPortCode;
    /**
     * 目的地代码
     */
    private String destCode;
    /**
     * 贸易国别代码
     */
    private String tradeCountryCode;
    /**
     * 启运国家代码
     */
    private String despCountryCode;
    /**
     * 索赔有效期
     */
    private Integer counterClaim;
    /**
     * 合同号
     */
    private String contractNo;
    /**
     * 提运单号
     */
    private String carrierNoteNo;
    /**
     * 许可证号
     */
    private String licenseCode;
    /**
     * 审批号
     */
    private String approveCode;
    /**
     * 生产单位注册号
     */
    private String prodRegNo;
    /**
     * 换证凭单编号
     */
    private String exchangeNoteCodes;
    /**
     * 换证凭单份数
     */
    @SqlType(defaultValue = "NULL")
    private BigDecimal exchangeNoteNum;
    /**
     * 包装性能结果单号
     */
    private String packCapResuCodes;
    /**
     * 包装使用结果单号
     */
    private String packUseResuCodes;
    /**
     * 随附单据代码串,由相应单据代码串联而得
     */
    private String sheetTypeCodes;
    /**
     * 所需单据代码串,由相应单据代码串联而得
     */
    private String certTypeCodes;
    /**
     * 所需单据正本份数,应与所需单据代码串对应，逗号隔开
     */
    private String certOriginals;
    /**
     * 所需单据副本份数,应与所需单据代码串对应，逗号隔开
     */
    private String certCopies;
    /**
     * 特殊条款
     */
    private String specialRequire;
    /**
     * 标记及号码
     */
    private String markNo;
    /**
     * 外商投资财产编码
     */
    private String valueCheckupFlag;
    /**
     * 外商投资财产名称
     */
    private String valueCheckupFlagname;
    /**
     * 报检类别编码
     */
    private String declTypeCode;
    /**
     * 报检类别名称
     */
    private String declTypeName;
    /**
     * 签名数据
     */
    private String signData;
    /**
     * 代理企业注册号
     */
    private String iqRegisterno;
    /**
     * 出入境报检分类
     */
    private String aplKind;
    /**
     * 输往国家
     */
    private String tradeCountryName;
    /**
     * 启运地
     */
    private String despPortName;
    /**
     * 到达口岸
     */
    private String arriPortName;
    /**
     * 经停口岸
     */
    private String viaPortName;
    /**
     * 启运口岸
     */
    private String despCountryName;
    /**
     * 目的地
     */
    private String destName;
    /**
     * 入境口岸
     */
    private String entryPortName;
    /**
     * 目的机构代码
     */
    private String orgCode;
    /**
     * 目的机构名称
     */
    private String orgName;
    /**
     * 施检机构代码
     */
    private String checkOrgCode;
    /**
     * 施检机构名称
     */
    private String checkOrgName;
    /**
     * 运输工具名称
     */
    private String transMeans;
    /**
     * 是否退运
     */
    private String backTransportFlag;
    /**
     * 是否退运名称
     */
    private String backTransportFlagName;
    /**
     * 生产批组批号
     */
    private String combBatchNo;
    /**
     * 接入标志
     */
    private String originFlag;
    /**
     * 直接申报标志，1-直接申报，0-EP上申报，天津电子口岸填写0
     */
    private String declFlag;
    /**
     * 是否在报检单正式受理后，发回报检单到发送方，1-发回,0，不发回，天津电子口岸填写1
     */
    private String declBack;
    /**
     * 提货单号（三集中使用）
     */
    private String doNo;
    /**
     * 目的机构代码
     */
    private String caCertId;
    /**
     * 报文发送方
     */
    private String bwfrom;
    /**
     * 报文接收方
     */
    private String bwto;
    /**
     * 报文存放路径
     */
    private String filename;
    /**
     * 是否编辑
     */
    private String isedit;
    /**
     * 法检非法检标志
     */
    private String declStatus;
    /**
     * (出境)生产批号
     */
    private String uDeclNo;
    /**
     *
     */
    private String businesstype;
    /**
     * 验证条件:01 目录内/预包装 02 目录外/非预包装
     */
    private String qDeclNo;
    /**
     * 是否处理
     */
    private String ishandle;
    /**
     *
     */
    private String currstatusname;
    /**
     *
     */
    private String currstatusid;
    /**
     *
     */
    private String sendStatus;
    /**
     *
     */
    @SqlType(type = "date", format = "yyyy-mm-dd hh24:mi:ss")
    private String createtime;
    /**
     *
     */
    private String isauditing;
    /**
     *
     */
    private String isdelete;
    /**
     *
     */
    @SqlType(type = "date", format = "yyyy-mm-dd hh24:mi:ss")
    private String deletetime;

    /**
     * 申报进度
     */
    private String declProgress;

    /**
     * 报检货物存放位置
     */
    private String depositposition;

    /**
     * 备注信息
     */
    private String remark;

    //通关单号
    private String passcode;

    //ep返回code
    private String epCode;

    //ep返回信息
    private String epMsg;

    //ciq返回code
    private String ciqCode;

    //ciq返回信息
    private String ciqMsg;

    /**
     * 组织机构
     */
    private String organizationId;

    /**
     * 制单人
     */
    private String makerid;

    /**
     * “一体化”标志: 采用Y和N标识
     */
    private String integratedFlag;

    /**
     * “异地申领”标志: 采用Y和N标识
     */
    private String remoteReceiveFlag;

    /**
     * 证单申领机构: 证单申领机构代码
     */
    private String docrecOrgCode;

    /**
     * 证单申领机构: 证单申领机构名称
     */
    private String docrecOrgName;

    /**
     * 提货单号: 企业录入
     */
    private String deliveryOrder;

    /**
     * 报关关区: 报关关区代码
     */
    private String customCode;

    /**
     * 报关关区: 报关关区名称
     */
    private String customName;

    // ======== 报检导出使用参数
    @SqlType(inTable = false)
    private String goodsCname;
    @SqlType(inTable = false)
    private String originPlace;
    @SqlType(inTable = false)
    private String totalQty;
    @SqlType(inTable = false)
    private String totalWeight;
    @SqlType(inTable = false)
    private String totalPack;

    /**
     * 数重量及包装情况
     */
    @SqlType(inTable = false)
    private String totalQWP;
    /**
     * 货物总值
     */
    @SqlType(inTable = false)
    private String totalValues;

    /**
     * 集装箱规格
     */
    @SqlType(inTable = false)
    private String containerModel;

    /**
     * 集装箱数量
     */
    @SqlType(inTable = false)
    private String containerQty;

    /**
     * 集装箱规格及数量
     */
    @SqlType(inTable = false)
    private String containerMQ;


    // ======== 报检导出使用参数

    static {
        BigDecimalConverter bigDecimalConverter = new BigDecimalConverter(null);
        ConvertUtils.register(bigDecimalConverter, BigDecimal.class);
    }

    public String getGoodsCname() {
        return goodsCname;
    }

    public void setGoodsCname(String goodsCname) {
        this.goodsCname = goodsCname;
    }

    public String getOriginPlace() {
        return originPlace;
    }

    public void setOriginPlace(String originPlace) {
        this.originPlace = originPlace;
    }

    public String getTotalQty() {
        return totalQty;
    }

    public void setTotalQty(String totalQty) {
        this.totalQty = totalQty;
    }

    public String getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(String totalWeight) {
        this.totalWeight = totalWeight;
    }

    public String getTotalPack() {
        return totalPack;
    }

    public void setTotalPack(String totalPack) {
        this.totalPack = totalPack;
    }

    public String getTotalValues() {
        return totalValues;
    }

    public void setTotalValues(String totalValues) {
        this.totalValues = totalValues;
    }

    public String getContainerModel() {
        return containerModel;
    }

    public void setContainerModel(String containerModel) {
        this.containerModel = containerModel;
    }

    public String getMakerid() {
        return this.makerid;
    }

    public void setMakerid(final String makerid) {
        this.makerid = makerid;
    }

    public String getOrganizationId() {
        return this.organizationId;
    }

    public void setOrganizationId(final String organizationId) {
        this.organizationId = organizationId;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(final String remark) {
        this.remark = remark;
    }

    public String getDepositposition() {
        return this.depositposition;
    }

    public void setDepositposition(final String depositposition) {
        this.depositposition = depositposition;
    }

    public String getDeclProgress() {
        return this.declProgress;
    }

    public void setDeclProgress(final String declProgress) {
        this.declProgress = declProgress;
    }

    public String getDeclProgressDisplay() {
        return DictTag.dictItem("inspDeclProgress", declProgress);

    }

    public String getIntegratedFlag() {
        return integratedFlag;
    }

    public void setIntegratedFlag(String integratedFlag) {
        this.integratedFlag = integratedFlag;
    }

    public String getRemoteReceiveFlag() {
        return remoteReceiveFlag;
    }

    public void setRemoteReceiveFlag(String remoteReceiveFlag) {
        this.remoteReceiveFlag = remoteReceiveFlag;
    }

    public String getDocrecOrgCode() {
        return docrecOrgCode;
    }

    public void setDocrecOrgCode(String docrecOrgCode) {
        this.docrecOrgCode = docrecOrgCode;
    }

    public String getDeliveryOrder() {
        return deliveryOrder;
    }

    public void setDeliveryOrder(String deliveryOrder) {
        this.deliveryOrder = deliveryOrder;
    }

    public String getCustomCode() {
        return customCode;
    }

    public void setCustomCode(String customCode) {
        this.customCode = customCode;
    }

    public String getIndx() {
        return indx;
    }

    public void setIndx(String indx) {
        this.indx = indx;
    }

    public String getIo() {
        return io;
    }

    public void setIo(String io) {
        this.io = io;
    }

    public String getDeclNo() {
        return declNo;
    }

    public void setDeclNo(String declNo) {
        this.declNo = declNo;
    }

    public String getFlowno() {
        return flowno;
    }

    public void setFlowno(String flowno) {
        this.flowno = flowno;
    }

    public String getConIndx() {
        return conIndx;
    }

    public void setConIndx(String conIndx) {
        this.conIndx = conIndx;
    }

    public String getConsignno() {
        return consignno;
    }

    public void setConsignno(String consignno) {
        this.consignno = consignno;
    }

    public String getDeclRegNo() {
        return declRegNo;
    }

    public void setDeclRegNo(String declRegNo) {
        this.declRegNo = declRegNo;
    }

    public String getDeclGetNo() {
        return declGetNo;
    }

    public void setDeclGetNo(String declGetNo) {
        this.declGetNo = declGetNo;
    }

    public String getDeclPersonCode() {
        return declPersonCode;
    }

    public void setDeclPersonCode(String declPersonCode) {
        this.declPersonCode = declPersonCode;
    }

    public String getDeclDate() {
        return declDate;
    }

    public void setDeclDate(String declDate) {
        this.declDate = declDate;
    }

    public String getEntName() {
        return entName;
    }

    public void setEntName(String entName) {
        this.entName = entName;
    }

    public String getEntContact() {
        return entContact;
    }

    public void setEntContact(String entContact) {
        this.entContact = entContact;
    }

    public String getEntPropertyname() {
        return entPropertyname;
    }

    public void setEntPropertyname(String entPropertyname) {
        this.entPropertyname = entPropertyname;
    }

    public String getEntProperty() {
        return entProperty;
    }

    public void setEntProperty(String entProperty) {
        this.entProperty = entProperty;
    }

    public String getEntTel() {
        return entTel;
    }

    public void setEntTel(String entTel) {
        this.entTel = entTel;
    }

    public String getConsignorCode() {
        return consignorCode;
    }

    public void setConsignorCode(String consignorCode) {
        this.consignorCode = consignorCode;
    }

    public String getConsignorCname() {
        return consignorCname;
    }

    public void setConsignorCname(String consignorCname) {
        this.consignorCname = consignorCname;
    }

    public String getConsignorEname() {
        return consignorEname;
    }

    public void setConsignorEname(String consignorEname) {
        this.consignorEname = consignorEname;
    }

    public String getConsigneeCode() {
        return consigneeCode;
    }

    public void setConsigneeCode(String consigneeCode) {
        this.consigneeCode = consigneeCode;
    }

    public String getConsigneeCname() {
        return consigneeCname;
    }

    public void setConsigneeCname(String consigneeCname) {
        this.consigneeCname = consigneeCname;
    }

    public String getConsigneeEname() {
        return consigneeEname;
    }

    public void setConsigneeEname(String consigneeEname) {
        this.consigneeEname = consigneeEname;
    }

    public String getTransTypeCode() {
        return transTypeCode;
    }

    public void setTransTypeCode(String transTypeCode) {
        this.transTypeCode = transTypeCode;
    }

    public String getTransTypeName() {
        return transTypeName;
    }

    public void setTransTypeName(String transTypeName) {
        this.transTypeName = transTypeName;
    }

    public String getTransTypeNo() {
        return transTypeNo;
    }

    public void setTransTypeNo(String transTypeNo) {
        this.transTypeNo = transTypeNo;
    }

    public BigDecimal getTonnage() {
        return tonnage;
    }

    public void setTonnage(BigDecimal tonnage) {
        this.tonnage = tonnage;
    }

    public String getTradeModeCode() {
        return tradeModeCode;
    }

    public void setTradeModeCode(String tradeModeCode) {
        this.tradeModeCode = tradeModeCode;
    }

    public String getTradeModeName() {
        return tradeModeName;
    }

    public void setTradeModeName(String tradeModeName) {
        this.tradeModeName = tradeModeName;
    }

    public String getGoodsPlace() {
        return goodsPlace;
    }

    public void setGoodsPlace(String goodsPlace) {
        this.goodsPlace = goodsPlace;
    }

    public String getPurposeCode() {
        return purposeCode;
    }

    public void setPurposeCode(String purposeCode) {
        this.purposeCode = purposeCode;
    }

    public String getPurposeName() {
        return purposeName;
    }

    public void setPurposeName(String purposeName) {
        this.purposeName = purposeName;
    }

    public String getDespDate() {
        return despDate;
    }

    public void setDespDate(String despDate) {
        this.despDate = despDate;
    }

    public String getArriDate() {
        return arriDate;
    }

    public void setArriDate(String arriDate) {
        this.arriDate = arriDate;
    }

    public String getUnloadDate() {
        return unloadDate;
    }

    public void setUnloadDate(String unloadDate) {
        this.unloadDate = unloadDate;
    }

    public String getDespPortCode() {
        return despPortCode;
    }

    public void setDespPortCode(String despPortCode) {
        this.despPortCode = despPortCode;
    }

    public String getArriPortCode() {
        return arriPortCode;
    }

    public void setArriPortCode(String arriPortCode) {
        this.arriPortCode = arriPortCode;
    }

    public String getEntryPortCode() {
        return entryPortCode;
    }

    public void setEntryPortCode(String entryPortCode) {
        this.entryPortCode = entryPortCode;
    }

    public String getViaPortCode() {
        return viaPortCode;
    }

    public void setViaPortCode(String viaPortCode) {
        this.viaPortCode = viaPortCode;
    }

    public String getDestCode() {
        return destCode;
    }

    public void setDestCode(String destCode) {
        this.destCode = destCode;
    }

    public String getTradeCountryCode() {
        return tradeCountryCode;
    }

    public void setTradeCountryCode(String tradeCountryCode) {
        this.tradeCountryCode = tradeCountryCode;
    }

    public String getDespCountryCode() {
        return despCountryCode;
    }

    public void setDespCountryCode(String despCountryCode) {
        this.despCountryCode = despCountryCode;
    }

    public Integer getCounterClaim() {
        return counterClaim;
    }

    public void setCounterClaim(Integer counterClaim) {
        this.counterClaim = counterClaim;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getCarrierNoteNo() {
        return carrierNoteNo;
    }

    public void setCarrierNoteNo(String carrierNoteNo) {
        this.carrierNoteNo = carrierNoteNo;
    }

    public String getLicenseCode() {
        return licenseCode;
    }

    public void setLicenseCode(String licenseCode) {
        this.licenseCode = licenseCode;
    }

    public String getApproveCode() {
        return approveCode;
    }

    public void setApproveCode(String approveCode) {
        this.approveCode = approveCode;
    }

    public String getProdRegNo() {
        return prodRegNo;
    }

    public void setProdRegNo(String prodRegNo) {
        this.prodRegNo = prodRegNo;
    }

    public String getExchangeNoteCodes() {
        return exchangeNoteCodes;
    }

    public void setExchangeNoteCodes(String exchangeNoteCodes) {
        this.exchangeNoteCodes = exchangeNoteCodes;
    }

    public BigDecimal getExchangeNoteNum() {
        return exchangeNoteNum;
    }

    public void setExchangeNoteNum(BigDecimal exchangeNoteNum) {
        this.exchangeNoteNum = exchangeNoteNum;
    }

    public String getPackCapResuCodes() {
        return packCapResuCodes;
    }

    public void setPackCapResuCodes(String packCapResuCodes) {
        this.packCapResuCodes = packCapResuCodes;
    }

    public String getPackUseResuCodes() {
        return packUseResuCodes;
    }

    public void setPackUseResuCodes(String packUseResuCodes) {
        this.packUseResuCodes = packUseResuCodes;
    }

    public String getSheetTypeCodes() {
        return sheetTypeCodes;
    }

    public void setSheetTypeCodes(String sheetTypeCodes) {
        this.sheetTypeCodes = sheetTypeCodes;
    }

    public String getCertTypeCodes() {
        return certTypeCodes;
    }

    public void setCertTypeCodes(String certTypeCodes) {
        this.certTypeCodes = certTypeCodes;
    }

    public String getCertOriginals() {
        return certOriginals;
    }

    public void setCertOriginals(String certOriginals) {
        this.certOriginals = certOriginals;
    }

    public String getCertCopies() {
        return certCopies;
    }

    public void setCertCopies(String certCopies) {
        this.certCopies = certCopies;
    }

    public String getSpecialRequire() {
        return specialRequire;
    }

    public void setSpecialRequire(String specialRequire) {
        this.specialRequire = specialRequire;
    }

    public String getMarkNo() {
        return markNo;
    }

    public void setMarkNo(String markNo) {
        this.markNo = markNo;
    }

    public String getValueCheckupFlag() {
        return valueCheckupFlag;
    }

    public void setValueCheckupFlag(String valueCheckupFlag) {
        this.valueCheckupFlag = valueCheckupFlag;
    }

    public String getValueCheckupFlagname() {
        return valueCheckupFlagname;
    }

    public void setValueCheckupFlagname(String valueCheckupFlagname) {
        this.valueCheckupFlagname = valueCheckupFlagname;
    }

    public String getDeclTypeCode() {
        return declTypeCode;
    }

    public void setDeclTypeCode(String declTypeCode) {
        this.declTypeCode = declTypeCode;
    }

    public String getDeclTypeName() {
        return declTypeName;
    }

    public void setDeclTypeName(String declTypeName) {
        this.declTypeName = declTypeName;
    }

    public String getSignData() {
        return signData;
    }

    public void setSignData(String signData) {
        this.signData = signData;
    }

    public String getIqRegisterno() {
        return iqRegisterno;
    }

    public void setIqRegisterno(String iqRegisterno) {
        this.iqRegisterno = iqRegisterno;
    }

    public String getAplKind() {
        return aplKind;
    }

    public void setAplKind(String aplKind) {
        this.aplKind = aplKind;
    }

    public String getTradeCountryName() {
        return tradeCountryName;
    }

    public void setTradeCountryName(String tradeCountryName) {
        this.tradeCountryName = tradeCountryName;
    }

    public String getDespPortName() {
        return despPortName;
    }

    public void setDespPortName(String despPortName) {
        this.despPortName = despPortName;
    }

    public String getArriPortName() {
        return arriPortName;
    }

    public void setArriPortName(String arriPortName) {
        this.arriPortName = arriPortName;
    }

    public String getViaPortName() {
        return viaPortName;
    }

    public void setViaPortName(String viaPortName) {
        this.viaPortName = viaPortName;
    }

    public String getDespCountryName() {
        return despCountryName;
    }

    public void setDespCountryName(String despCountryName) {
        this.despCountryName = despCountryName;
    }

    public String getDestName() {
        return destName;
    }

    public void setDestName(String destName) {
        this.destName = destName;
    }

    public String getEntryPortName() {
        return entryPortName;
    }

    public void setEntryPortName(String entryPortName) {
        this.entryPortName = entryPortName;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getCheckOrgCode() {
        return checkOrgCode;
    }

    public void setCheckOrgCode(String checkOrgCode) {
        this.checkOrgCode = checkOrgCode;
    }

    public String getCheckOrgName() {
        return checkOrgName;
    }

    public void setCheckOrgName(String checkOrgName) {
        this.checkOrgName = checkOrgName;
    }

    public String getTransMeans() {
        return transMeans;
    }

    public void setTransMeans(String transMeans) {
        this.transMeans = transMeans;
    }

    public String getBackTransportFlag() {
        return backTransportFlag;
    }

    public void setBackTransportFlag(String backTransportFlag) {
        this.backTransportFlag = backTransportFlag;
    }

    public String getBackTransportFlagName() {
        return backTransportFlagName;
    }

    public void setBackTransportFlagName(String backTransportFlagName) {
        this.backTransportFlagName = backTransportFlagName;
    }

    public String getCombBatchNo() {
        return combBatchNo;
    }

    public void setCombBatchNo(String combBatchNo) {
        this.combBatchNo = combBatchNo;
    }

    public String getOriginFlag() {
        return originFlag;
    }

    public void setOriginFlag(String originFlag) {
        this.originFlag = originFlag;
    }

    public String getDeclFlag() {
        return declFlag;
    }

    public void setDeclFlag(String declFlag) {
        this.declFlag = declFlag;
    }

    public String getDeclBack() {
        return declBack;
    }

    public void setDeclBack(String declBack) {
        this.declBack = declBack;
    }

    public String getDoNo() {
        return doNo;
    }

    public void setDoNo(String doNo) {
        this.doNo = doNo;
    }

    public String getCaCertId() {
        return caCertId;
    }

    public void setCaCertId(String caCertId) {
        this.caCertId = caCertId;
    }

    public String getBwfrom() {
        return bwfrom;
    }

    public void setBwfrom(String bwfrom) {
        this.bwfrom = bwfrom;
    }

    public String getBwto() {
        return bwto;
    }

    public void setBwto(String bwto) {
        this.bwto = bwto;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getIsedit() {
        return isedit;
    }

    public void setIsedit(String isedit) {
        this.isedit = isedit;
    }

    public String getDeclStatus() {
        return declStatus;
    }

    public void setDeclStatus(String declStatus) {
        this.declStatus = declStatus;
    }


    public String getDeclStatusDisplay() {

        return DictTag.dictItem("Inspection_category", declStatus);
    }


    public String getuDeclNo() {
        return uDeclNo;
    }

    public void setuDeclNo(String uDeclNo) {
        this.uDeclNo = uDeclNo;
    }

    public String getBusinesstype() {
        return businesstype;
    }

    public void setBusinesstype(String businesstype) {
        this.businesstype = businesstype;
    }

    public String getqDeclNo() {
        return qDeclNo;
    }

    public void setqDeclNo(String qDeclNo) {
        this.qDeclNo = qDeclNo;
    }

    public String getIshandle() {
        return ishandle;
    }

    public void setIshandle(String ishandle) {
        this.ishandle = ishandle;
    }

    public String getCurrstatusname() {
        return currstatusname;
    }

    public void setCurrstatusname(String currstatusname) {
        this.currstatusname = currstatusname;
    }

    public String getCurrstatusid() {
        return currstatusid;
    }

    public void setCurrstatusid(String currstatusid) {
        this.currstatusid = currstatusid;
    }

    public String getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(String sendStatus) {
        this.sendStatus = sendStatus;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getIsauditing() {
        return isauditing;
    }

    public void setIsauditing(String isauditing) {
        this.isauditing = isauditing;
    }

    public String getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(String isdelete) {
        this.isdelete = isdelete;
    }

    public String getDeletetime() {
        return deletetime;
    }

    public void setDeletetime(String deletetime) {
        this.deletetime = deletetime;
    }

    public String getStartTime() {
        return this.startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return this.endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPasscode() {
        return passcode;
    }

    public void setPasscode(String passcode) {
        this.passcode = passcode;
    }

    public String getEpCode() {
        return this.epCode;
    }

    public void setEpCode(final String epCode) {
        this.epCode = epCode;
    }

    public String getEpMsg() {
        return this.epMsg;
    }

    public void setEpMsg(final String epMsg) {
        this.epMsg = epMsg;
    }

    public String getCiqCode() {
        return this.ciqCode;
    }

    public void setCiqCode(final String ciqCode) {
        this.ciqCode = ciqCode;
    }

    public String getCiqMsg() {
        return this.ciqMsg;
    }

    public void setCiqMsg(final String ciqMsg) {
        this.ciqMsg = ciqMsg;
    }

    public String getDocrecOrgName() {
        return docrecOrgName;
    }

    public void setDocrecOrgName(String docrecOrgName) {
        this.docrecOrgName = docrecOrgName;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public String getTotalQWP() {
        if (StringUtils.isNotEmpty(totalQty)) {
            this.totalQWP = totalQty;
        }

        if (StringUtils.isNotEmpty(totalWeight)) {
            this.totalQWP += (StringUtils.isNotEmpty(this.totalQWP) ? "/" + totalWeight : totalWeight);
        }

        if (StringUtils.isNotEmpty(totalPack)) {
            this.totalQWP += (StringUtils.isNotEmpty(this.totalQWP) ? "/" + totalPack : totalPack);
        }

        return totalQWP;
    }

    public void setTotalQWP(String totalQWP) {
        this.totalQWP = totalQWP;
    }

    public String getContainerQty() {
        return containerQty;
    }

    public void setContainerQty(String containerQty) {
        this.containerQty = containerQty;
    }

    public String getContainerMQ() {
        return containerMQ;
    }

    public void setContainerMQ(String containerMQ) {
        this.containerMQ = containerMQ;
    }

    @Override
    public String toString() {
        return "TDeclInfo{" +
                "indx='" + indx + '\'' +
                ", io='" + io + '\'' +
                ", declNo='" + declNo + '\'' +
                ", flowno='" + flowno + '\'' +
                ", conIndx='" + conIndx + '\'' +
                ", consignno='" + consignno + '\'' +
                ", declRegNo='" + declRegNo + '\'' +
                ", declGetNo='" + declGetNo + '\'' +
                ", declPersonCode='" + declPersonCode + '\'' +
                ", declDate='" + declDate + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", entName='" + entName + '\'' +
                ", entContact='" + entContact + '\'' +
                ", entPropertyname='" + entPropertyname + '\'' +
                ", entProperty='" + entProperty + '\'' +
                ", entTel='" + entTel + '\'' +
                ", consignorCode='" + consignorCode + '\'' +
                ", consignorCname='" + consignorCname + '\'' +
                ", consignorEname='" + consignorEname + '\'' +
                ", consigneeCode='" + consigneeCode + '\'' +
                ", consigneeCname='" + consigneeCname + '\'' +
                ", consigneeEname='" + consigneeEname + '\'' +
                ", transTypeCode='" + transTypeCode + '\'' +
                ", transTypeName='" + transTypeName + '\'' +
                ", transTypeNo='" + transTypeNo + '\'' +
                ", tonnage=" + tonnage +
                ", tradeModeCode='" + tradeModeCode + '\'' +
                ", tradeModeName='" + tradeModeName + '\'' +
                ", goodsPlace='" + goodsPlace + '\'' +
                ", purposeCode='" + purposeCode + '\'' +
                ", purposeName='" + purposeName + '\'' +
                ", despDate='" + despDate + '\'' +
                ", arriDate='" + arriDate + '\'' +
                ", unloadDate='" + unloadDate + '\'' +
                ", despPortCode='" + despPortCode + '\'' +
                ", arriPortCode='" + arriPortCode + '\'' +
                ", entryPortCode='" + entryPortCode + '\'' +
                ", viaPortCode='" + viaPortCode + '\'' +
                ", destCode='" + destCode + '\'' +
                ", tradeCountryCode='" + tradeCountryCode + '\'' +
                ", despCountryCode='" + despCountryCode + '\'' +
                ", counterClaim=" + counterClaim +
                ", contractNo='" + contractNo + '\'' +
                ", carrierNoteNo='" + carrierNoteNo + '\'' +
                ", licenseCode='" + licenseCode + '\'' +
                ", approveCode='" + approveCode + '\'' +
                ", prodRegNo='" + prodRegNo + '\'' +
                ", exchangeNoteCodes='" + exchangeNoteCodes + '\'' +
                ", exchangeNoteNum=" + exchangeNoteNum +
                ", packCapResuCodes='" + packCapResuCodes + '\'' +
                ", packUseResuCodes='" + packUseResuCodes + '\'' +
                ", sheetTypeCodes='" + sheetTypeCodes + '\'' +
                ", certTypeCodes='" + certTypeCodes + '\'' +
                ", certOriginals='" + certOriginals + '\'' +
                ", certCopies='" + certCopies + '\'' +
                ", specialRequire='" + specialRequire + '\'' +
                ", markNo='" + markNo + '\'' +
                ", valueCheckupFlag='" + valueCheckupFlag + '\'' +
                ", valueCheckupFlagname='" + valueCheckupFlagname + '\'' +
                ", declTypeCode='" + declTypeCode + '\'' +
                ", declTypeName='" + declTypeName + '\'' +
                ", signData='" + signData + '\'' +
                ", iqRegisterno='" + iqRegisterno + '\'' +
                ", aplKind='" + aplKind + '\'' +
                ", tradeCountryName='" + tradeCountryName + '\'' +
                ", despPortName='" + despPortName + '\'' +
                ", arriPortName='" + arriPortName + '\'' +
                ", viaPortName='" + viaPortName + '\'' +
                ", despCountryName='" + despCountryName + '\'' +
                ", destName='" + destName + '\'' +
                ", entryPortName='" + entryPortName + '\'' +
                ", orgCode='" + orgCode + '\'' +
                ", orgName='" + orgName + '\'' +
                ", checkOrgCode='" + checkOrgCode + '\'' +
                ", checkOrgName='" + checkOrgName + '\'' +
                ", transMeans='" + transMeans + '\'' +
                ", backTransportFlag='" + backTransportFlag + '\'' +
                ", backTransportFlagName='" + backTransportFlagName + '\'' +
                ", combBatchNo='" + combBatchNo + '\'' +
                ", originFlag='" + originFlag + '\'' +
                ", declFlag='" + declFlag + '\'' +
                ", declBack='" + declBack + '\'' +
                ", doNo='" + doNo + '\'' +
                ", caCertId='" + caCertId + '\'' +
                ", bwfrom='" + bwfrom + '\'' +
                ", bwto='" + bwto + '\'' +
                ", filename='" + filename + '\'' +
                ", isedit='" + isedit + '\'' +
                ", declStatus='" + declStatus + '\'' +
                ", uDeclNo='" + uDeclNo + '\'' +
                ", businesstype='" + businesstype + '\'' +
                ", qDeclNo='" + qDeclNo + '\'' +
                ", ishandle='" + ishandle + '\'' +
                ", currstatusname='" + currstatusname + '\'' +
                ", currstatusid='" + currstatusid + '\'' +
                ", sendStatus='" + sendStatus + '\'' +
                ", createtime='" + createtime + '\'' +
                ", isauditing='" + isauditing + '\'' +
                ", isdelete='" + isdelete + '\'' +
                ", deletetime='" + deletetime + '\'' +
                ", declProgress='" + declProgress + '\'' +
                ", depositposition='" + depositposition + '\'' +
                ", remark='" + remark + '\'' +
                ", passcode='" + passcode + '\'' +
                ", epCode='" + epCode + '\'' +
                ", epMsg='" + epMsg + '\'' +
                ", ciqCode='" + ciqCode + '\'' +
                ", ciqMsg='" + ciqMsg + '\'' +
                ", organizationId='" + organizationId + '\'' +
                ", makerid='" + makerid + '\'' +
                ", integratedFlag='" + integratedFlag + '\'' +
                ", remoteReceiveFlag='" + remoteReceiveFlag + '\'' +
                ", docrecOrgCode='" + docrecOrgCode + '\'' +
                ", docrecOrgName='" + docrecOrgName + '\'' +
                ", deliveryOrder='" + deliveryOrder + '\'' +
                ", customCode='" + customCode + '\'' +
                ", customName='" + customName + '\'' +
                ", goodsCname='" + goodsCname + '\'' +
                ", originPlace='" + originPlace + '\'' +
                ", totalQty='" + totalQty + '\'' +
                ", totalWeight='" + totalWeight + '\'' +
                ", totalPack='" + totalPack + '\'' +
                ", totalQWP='" + totalQWP + '\'' +
                ", totalValues='" + totalValues + '\'' +
                ", containerModel='" + containerModel + '\'' +
                ", containerQty='" + containerQty + '\'' +
                ", containerMQ='" + containerMQ + '\'' +
                '}';
    }
}
